package utils.exceptions;

import java.util.List;

import controllers.bluehat.backbone.FocusController.ErrorJson;

public class IdeonException extends Exception {
	public ErrorJson errors;
	public IdeonException() {
		super();
	}
	
	public IdeonException(String message) {
		super(message);
	}
	
	public IdeonException(Throwable throwable) {
		super(throwable);
	}
	
	public IdeonException(String message, Throwable throwable) {
		super(message, throwable);
	}
	
	public IdeonException(String message, ErrorJson errors) {
		this(message);
		
		this.errors = errors;
	}
	
	public ErrorJson getErrors() {
		return this.errors;
	}
}
